#cartBox {
  height: 4.4rem;
  .cart-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 4.4rem;
    font-size: 0;
    color: #fff;
    background-color: #464648;
    z-index: 3;
    .cart-icon-box{
      position: relative;
      width: 6.4rem;
      height: 100%;
      will-change: transform;
    }
    .cart-icon-box::before {
      position: absolute;
      left: .8rem;
      top: -.8rem;
      content: "";
      width: 3.6rem;
      height: 3.6rem;
      border-radius: 3rem;
      border: 6px solid #464648;
      background: url() 50% no-repeat;
      background-size: 2rem;
      background-color: #3a95e8;
    }
    .cart-icon-box::after {
      position: absolute;
      right: .9rem;
      top: -.8rem;
      line-height: 1;
      background-color: #ff461d;
      color: #fff;
      border-radius: .8rem;
      padding: .2rem .4rem;
      content: attr(data-total-count);
      font-size: 1rem;
    }
    .cart-icon-box-count0.cart-icon-box::before {
      background: url() 50% no-repeat;
      background-size: 2rem;
      background-color: #363636;
    }
    .cart-icon-box-count0.cart-icon-box::after {
      display: none;
    }
    .cart-pay {
      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1rem;
      .cart-price-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        .cart-price {
          font-size: 1.6rem;
          font-weight: 400;
        }
        .cart-travel-price {
          font-weight: 400;
        }
      }
      .cart-balance {
        display: inline-block;
        width: 8.6rem;
        height: 100%;
        line-height: 3.2;
        text-align: center;
        color: #fff;
        font-size: 1.28rem;
        font-weight: 700;
        background-color: #4cd964;
      }
    }
  }
  .cart-detail {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -50%;
    transition: all .4s ease-in-out;
    background-color: pink;
    z-index: 2;
    .cart-detail-head {
      display: flex;
      justify-content: space-between;
      padding: 1rem;
      background-color: #eceff1;
      .detail-title {
        padding: 0 3px;
        border-left: 3px solid #3190e8;
        font-size: 1.4rem;
        font-weight: normal;
      }
      .cart-clear {
        color: #333;
        opacity: 0.7;
        font-size: 1rem;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
        -webkit-user-select: none;
        -moz-user-focus: none;
        -moz-user-select: none;
      }
      .cart-clear:active {
        opacity: 1;
      }
    }
    .cart-detailList {
      padding: 1rem;
      overflow: scroll;
      background-color: #fff;
      .detail-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .88rem 0;
        font-size: 1.3rem;
        border-bottom: 1px solid #eee;
        .item-title {
          display: inline-block;
          width: 50%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .priceCount {
          display: flex;
          .totalprice {
            margin-right: 2rem;
            color: #f60;
          }
          .totalprice::before {
            content: '\A5';
            font-size: 1rem;
            color: currentColor;
          }
        }
      }
    }
  }
  .cart-mask {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    transition: opacity .4s;
  }
}
